/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import entities.Sales;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Andrés Felipe
 */
public interface SalesFacadeRemote {

    void create(Sales sales);

    void edit(Sales sales);

    void remove(Sales sales);

    Sales find(Object id);

    List<Sales> findAll();

    List<Sales> findRange(int[] range);

    int count();
    
    Sales getSaleId(String customerIdentification , int pymeIdentification, Date dateCreate , Date dateDelivery);
    
    int getSaleId(String customerIdentification,int pymeId,double total,Date date);
}
